<table class="m_widget" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="mac_os_x_nw"></td>
<td class="mac_os_x_n" valign="bottom" ><font style="font-weight: bold; font-family: Trebuchet MS"><%=title%></font></td>
						<td class="mac_os_x_ne"></td>
					</tr>
					<tr>
						<td class="mac_os_x_w"></td>
						<td class="mac_os_x_content">

<% if not (delegaciones.nil? or delegaciones.empty?) or false  %>
				<table class='box'>
          <tr>
  					<% headers = [ "Delegacion" , "Oro" , "Plata" , "Bronce"]%>
  					<% for column in headers %>
              <th> <%= column %> </th>
  					<% end %>
  				<tr/>
          <%count = 1%>
  				<% for delegacion in delegaciones %>
  					<%= row_tag count %>
               <td> <%=   h delegacion.nombre %> </td>
							 <td> <%=  h delegacion.oro %> </td>
							 <td> <%=  h delegacion.plata %> </td> 
  						 <td> <%=  h delegacion.bronce %> </td>
  					<tr/>
            <% break if count == size %>
  					<% count = count +1 %>
  				<% end %>
        </table>
        <% else %>
          No se han roto delegaciones hasta el momento
      	<%end%>

<% if not action_more.nil? %>
  <%= link_to_remote 'Ver m&#225;s', :url => { :controller => 'jdnbb', :action => action_more}, :update => 'main' %>
<%else %>
  <%= link_to_remote 'Volver', :url => { :controller => 'jdnbb', :action => 'desktop'}, :update => 'main' %>
<% end %>

	  </td>
	  <td class="mac_os_x_e"></td>
	</tr>
	<tr>
		<td class="mac_os_x_sw"></td>
		<td class="mac_os_x_s"></td>
  	<td class="mac_os_x_se"></td>
	</tr>
</table>

